home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.08 Aug 91 / Browser sources / CBrowserApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-01-19  |  1.1 KB  |  33 lines  |  [TEXT/KAHL]

  1. /******************************************************/
  2. /*                                                                                                      */
  3. /*    CBrowserApp.h                                                                          */
  4. /*                                                                                                      */
  5. /*    Class definition for Browser application                  */
  6. /*                                                                                                      */
  7. /*    Written in Think C version 4.0.2                                  */
  8. /*    Based on CStarterApp.h                                                        */
  9. /*                                                                                                      */
  10. /*    Allen Stenger    January 1991                                              */
  11. /*                                                                                                      */
  12. /******************************************************/
  13.  
  14. #define    _H_CBrowserApp
  15. #include <CApplication.h>
  16.  
  17. struct CBrowserApp : CApplication {
  18.  
  19.     /* No instance variables */
  20.  
  21.     /* methods - same function as CStarterApp                     */
  22.     /* except as noted                                                                     */
  23.     void    IBrowserApp(void);
  24.     void    SetUpFileParameters(void);
  25.     void    DoCommand(long theCommand);
  26.         /* DoCommand processes the "About…" command             */
  27.         /* CreateDocument is deleted, since we only open    */
  28.         /* existing documents                                                            */
  29.     void    OpenDocument(SFReply *macSFReply);
  30.     void    StartUpAction(short numPreloads);
  31.         /* StartUpAction asks for the first file to open     */
  32. };
  33.